package com.hetang.domain;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 詹泽
 * @date 2017/3/3
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class User implements Serializable {

    private Integer id;
    public String code;
    private String name;
    private String notes;
    private Integer status;
    private String statusStr;
    private String userType;
    private Date gmtCreate;
    private String gmtCreateStr;
    private Date gmtLastSignin;
    private String gmtLastSigninStr;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtLastSignin() {
        return gmtLastSignin;
    }

    public void setGmtLastSignin(Date gmtLastSignin) {
        this.gmtLastSignin = gmtLastSignin;
    }

    public String getGmtCreateStr() {
        return gmtCreateStr;
    }

    public void setGmtCreateStr(String gmtCreateStr) {
        this.gmtCreateStr = gmtCreateStr;
    }

    public String getGmtLastSigninStr() {
        return gmtLastSigninStr;
    }

    public void setGmtLastSigninStr(String gmtLastSigninStr) {
        this.gmtLastSigninStr = gmtLastSigninStr;
    }

    public String getStatusStr() {
        return statusStr;
    }

    public void setStatusStr(String statusStr) {
        this.statusStr = statusStr;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", notes='" + notes + '\'' +
                ", status=" + status +
                ", userType='" + userType + '\'' +
                ", gmtCreate=" + gmtCreate +
                ", gmtLastSignin=" + gmtLastSignin +
                '}';
    }
}
